import { defineStore } from 'pinia'
import pinia from './pinia.js'
const useStore = defineStore('test', {
  id: 'test',
  state() {
    return {
      a: 1,
      b: 2
    }
  },
  actions: {
    add() {
      this.a++
    }
  }
})
export default useStore(pinia)
